package com.kamistoat.ruoyi.ruoyigateway.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * 白名单yaml配置
 */
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "security.ignore")
@Data
public class IgnoreWhiteProperties {
    /**
     * 白名单。网关对白名单不设置任何登录状态/权限校验
     */
    private List<String> whites = new ArrayList<>();
}
